<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/commonList.jsp" %>
<%@ include file="/commons/commonEdit.jsp" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<script language="JavaScript" src="${ctx}/scripts/common/prototype.js"></script>
<script type="text/javascript" src="${ctx}/scripts/common.js"></script>
<script type="text/javascript" src="${ctx}/scripts/ajaxException.js"></script>
<script>
var tempId= null;
function setReformId(id){
	parent.setSelectReformId(id);
	tempId = id;
}
function deleteRecord(){
		var url="${ctx}/renovation_renovateViolationAction.do?method=deleteReform";
		var parameter = "&reformId="+tempId;
		var myAjax = new Ajax.Request(
	                   url,
	                   {method: 'post', parameters:parameter, onComplete: showResponseDelete}
	                   );
	}
	function showResponseDelete(transport){
		ajaxSubmitException(transport.responseText);
		if(transport.responseText=="false"){
			FailureAlert('${key.doFalse}');
		}else{
			parent.reloadReform();
		}
	}
</script>
</head>
<body>
<div  style="overflow:auto; height:190px;">
<ec:ceTable items="reformList"
	action="${ctx}/renovation_renovateViolationAction.do?method=initReformList&renovateViolationId=${renovateViolationId }"
	var="reformItem"
	view="pmsNoPageView"
	styleClass="gridData2"
	rowsDisplayed="${totalRows }">
	<ec:ceRow styleClass="grid"  onclick="setReformId('${reformItem.keyword}')"  onContextMenu="return ShowContextMenu(event,'quick_rightmenu')">
		<ec:ceColumn headerCell="pmsHeadrCell" title="验收人" property="checkMan"   width="12%"/>
		<ec:ceColumn headerCell="pmsHeadrCell" title="验收日期" property="checkDate"   width="20%"/>
		<ec:ceColumn headerCell="pmsHeadrCell" title="验收结果" property="resultName"   width="18%"/>
		<ec:ceColumn headerCell="pmsHeadrCell" title="备注" property="remark"   width="50%"/>
	</ec:ceRow>
	<ec:parameter name="renovateViolationId" value="${renovateViolationId }"></ec:parameter>
</ec:ceTable>
</div>
<div id="quick_rightmenu" class="quick_menu2"  style="display:none;">
  <table width="100%" border="0" cellpadding="1" cellspacing="0" class="grid_quickMenu_bg" onMouseOver="showmy2menu('quick_rightmenu')" onMouseOut="hidden2menu('quick_rightmenu')">
       <tr>
      <td>
	  <table width="100%" border="0" cellpadding="2" cellspacing="0">
	    <tr>
         <td class="quickMenu_toolbarico"><a href="javascript:void(0)"  onClick="parent.openAddReform();"onFocus="this.blur()"><img src="${ctx}/images/ico_newfile.gif" border="0" align="absbottom" alt="新增"/>&nbsp;新 增</a></td>
          </tr>
        <tr>
          <td class="quickMenu_toolbarico"><a href="javascript:void(0)" onClick="parent.showDelete();" onFocus="this.blur()" ><img src="${ctx}/images/ico_delete.gif" alt="删除"" border="0" align="absbottom"/>&nbsp;删 除</a></td>
          </tr>
      </table></td>
    </tr>
  </table>
</div>
</body>
</html>